﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ModelQuality.Metrics.Engine;

namespace ModelQuality.Metrics.Services
{
    static class ServiceLocator
    {
        private static IRepositoryServices repositoryServices;

        public static IRepositoryServices GetRepositoryServices(IValidationContext context)
        {
            return repositoryServices ?? (repositoryServices = new RepositoryServices(context));
        }
    }
}
